<template>
    <Person v-if="isShow"></Person>
</template>

<script lang="ts" setup name="App">
    import Person from './components/Person.vue';
    import { ref } from 'vue';
    import { onBeforeMount,onMounted,onBeforeUpdate,onUpdated,onBeforeUnmount,onUnmounted } from 'vue';
    let isShow = ref(true)

    onMounted(()=>{
        console.log('父---挂载完毕');
    })
</script>

<style>

</style>